package com.readingtree.library.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by Administrator on 2017/4/21.
 */
@RestController
public class UserController {

    @GetMapping(value = "/test")
    public void test(HttpServletResponse response) throws IOException {
        response.getWriter().print("test success");
    }
}
